package com.coolt.client.ui;

import com.coolt.client.ui.AppConstants;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Label;
import com.gwtext.client.widgets.form.ComboBox;
import com.gwtext.client.widgets.form.TextField;

public class Link extends Composite {

	
	private static final AppConstants CONSTANTS = (AppConstants) GWT.create(AppConstants.class);
	public Link() {
		
		final FlexTable flexTable = new FlexTable();
		initWidget(flexTable);
		flexTable.setSize("308", "30");
		flexTable.setStyleName("linksmenu");
		
		final Hyperlink inicioHyperlink = new Hyperlink(CONSTANTS.inicioHyperlink_text(), "inicio");
		flexTable.setWidget(0, 0, inicioHyperlink);
		inicioHyperlink.setStyleName("linksmenu");
		
		final Hyperlink catalagoHyperlink = new Hyperlink(CONSTANTS.catalagoHyperlink_text(), "catalogo");
		flexTable.setWidget(0, 1, catalagoHyperlink);
		catalagoHyperlink.setStyleName("linksmenu");
		
		final Hyperlink cooltsHyperlink = new Hyperlink(CONSTANTS.cooltsHyperlink_text(), "coolts");
		flexTable.setWidget(0, 2, cooltsHyperlink);
		cooltsHyperlink.setStyleName("linksmenu");
		
		final Hyperlink mensagemHyperlink = new Hyperlink(CONSTANTS.mensagemHyperlink_text(), "mensagem");
		flexTable.setWidget(0, 3, mensagemHyperlink);
		mensagemHyperlink.setStyleName("linksmenu");
		
		final Hyperlink comunidadeHyperlink = new Hyperlink(CONSTANTS.comunidadeHyperlink_text(), "comunidades");
		flexTable.setWidget(0, 4, comunidadeHyperlink);
		comunidadeHyperlink.setStyleName("linksmenu");
		
	}

}
